package com.my.design.template;

public class Student extends AbstractPerson{
    @Override
    protected void dressUp() {
        System.out.println("穿校服");
    }

    @Override
    protected void eat() {
        System.out.println("吃面包");
    }

    @Override
    protected void work() {
        System.out.println("去学校");
    }
}
